import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './utils/vant'
import './style/base.less'
import 'lib-flexible'
import '@/style/font-awesome-4.7.0/css/font-awesome.css'

import VueKeepScrollPosition from 'vue-keep-scroll-position'
import moment from 'moment'

Vue.use(VueKeepScrollPosition)
Vue.config.productionTip = false

moment.locale('zh-cn')
Vue.filter('fromNow', (time) => moment(time).fromNow())

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
